package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通用内容管理对象 t_sys_content
 * 
 * @author xmh
 * @date 2025-01-21
 */
public class TSysContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String cTitle;

    /** 副标题 */
    @Excel(name = "副标题")
    private String cSubtitle;

    /** 富文本正文 */
    @Excel(name = "富文本正文")
    private String cContent;

    /** 简介 */
    @Excel(name = "简介")
    private String cIntroduction;

    /** 封面图 */
    @Excel(name = "封面图")
    private String cCover;

    /** 图片展示 */
    @Excel(name = "图片展示")
    private String cPictures;

    /** 相关附件 */
    @Excel(name = "相关附件")
    private String cFiles;

    /** 显示状态 */
    @Excel(name = "显示状态")
    private String showState;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long showSort;

    /** 父分类 */
    @Excel(name = "父分类")
    private String fatherType;

    /** 子分类 */
    @Excel(name = "子分类")
    private String childType;

    /** 语言 */
    @Excel(name = "语言")
    private String dataLanguage;

    /** URL链接 */
    @Excel(name = "URL链接")
    private String cUrl;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cDate;

    /** 内容来源 */
    @Excel(name = "内容来源")
    private String cSource;

    /** 内容作者 */
    @Excel(name = "内容作者")
    private String cAuthor;

    /** 数量维护 */
    @Excel(name = "数量维护")
    private Long cNum;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 公司ID */
    @Excel(name = "公司ID")
    private String companyId;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String extend1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String extend2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String extend3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String extend4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String extend5;

    /** 备用字段6 */
    @Excel(name = "备用字段6")
    private String extend6;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setcTitle(String cTitle) 
    {
        this.cTitle = cTitle;
    }

    public String getcTitle() 
    {
        return cTitle;
    }
    public void setcSubtitle(String cSubtitle) 
    {
        this.cSubtitle = cSubtitle;
    }

    public String getcSubtitle() 
    {
        return cSubtitle;
    }
    public void setcContent(String cContent) 
    {
        this.cContent = cContent;
    }

    public String getcContent() 
    {
        return cContent;
    }
    public void setcIntroduction(String cIntroduction) 
    {
        this.cIntroduction = cIntroduction;
    }

    public String getcIntroduction() 
    {
        return cIntroduction;
    }
    public void setcCover(String cCover) 
    {
        this.cCover = cCover;
    }

    public String getcCover() 
    {
        return cCover;
    }
    public void setcPictures(String cPictures) 
    {
        this.cPictures = cPictures;
    }

    public String getcPictures() 
    {
        return cPictures;
    }
    public void setcFiles(String cFiles) 
    {
        this.cFiles = cFiles;
    }

    public String getcFiles() 
    {
        return cFiles;
    }
    public void setShowState(String showState) 
    {
        this.showState = showState;
    }

    public String getShowState() 
    {
        return showState;
    }
    public void setShowSort(Long showSort) 
    {
        this.showSort = showSort;
    }

    public Long getShowSort() 
    {
        return showSort;
    }
    public void setFatherType(String fatherType) 
    {
        this.fatherType = fatherType;
    }

    public String getFatherType() 
    {
        return fatherType;
    }
    public void setChildType(String childType) 
    {
        this.childType = childType;
    }

    public String getChildType() 
    {
        return childType;
    }
    public void setDataLanguage(String dataLanguage) 
    {
        this.dataLanguage = dataLanguage;
    }

    public String getDataLanguage() 
    {
        return dataLanguage;
    }
    public void setcUrl(String cUrl) 
    {
        this.cUrl = cUrl;
    }

    public String getcUrl() 
    {
        return cUrl;
    }
    public void setcDate(Date cDate) 
    {
        this.cDate = cDate;
    }

    public Date getcDate() 
    {
        return cDate;
    }
    public void setcSource(String cSource) 
    {
        this.cSource = cSource;
    }

    public String getcSource() 
    {
        return cSource;
    }
    public void setcAuthor(String cAuthor) 
    {
        this.cAuthor = cAuthor;
    }

    public String getcAuthor() 
    {
        return cAuthor;
    }
    public void setcNum(Long cNum) 
    {
        this.cNum = cNum;
    }

    public Long getcNum() 
    {
        return cNum;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setExtend1(String extend1) 
    {
        this.extend1 = extend1;
    }

    public String getExtend1() 
    {
        return extend1;
    }
    public void setExtend2(String extend2) 
    {
        this.extend2 = extend2;
    }

    public String getExtend2() 
    {
        return extend2;
    }
    public void setExtend3(String extend3) 
    {
        this.extend3 = extend3;
    }

    public String getExtend3() 
    {
        return extend3;
    }
    public void setExtend4(String extend4) 
    {
        this.extend4 = extend4;
    }

    public String getExtend4() 
    {
        return extend4;
    }
    public void setExtend5(String extend5) 
    {
        this.extend5 = extend5;
    }

    public String getExtend5() 
    {
        return extend5;
    }
    public void setExtend6(String extend6) 
    {
        this.extend6 = extend6;
    }

    public String getExtend6() 
    {
        return extend6;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cTitle", getcTitle())
            .append("cSubtitle", getcSubtitle())
            .append("cContent", getcContent())
            .append("cIntroduction", getcIntroduction())
            .append("cCover", getcCover())
            .append("cPictures", getcPictures())
            .append("cFiles", getcFiles())
            .append("showState", getShowState())
            .append("showSort", getShowSort())
            .append("fatherType", getFatherType())
            .append("childType", getChildType())
            .append("dataLanguage", getDataLanguage())
            .append("cUrl", getcUrl())
            .append("cDate", getcDate())
            .append("cSource", getcSource())
            .append("cAuthor", getcAuthor())
            .append("cNum", getcNum())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("companyId", getCompanyId())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .append("extend3", getExtend3())
            .append("extend4", getExtend4())
            .append("extend5", getExtend5())
            .append("extend6", getExtend6())
            .toString();
    }
}
